package cn.kongwg.jvmse.bianma;

import java.security.MessageDigest;
import java.util.Base64;

/**
 * @author kongwg
 * @create 2021-05-15 19:38
 */
public class ShaDemo {
    public static void main(String[] args) throws Exception {
        MessageDigest digest = MessageDigest.getInstance("md5");

        byte[] bytes = digest.digest("11111".getBytes());
        System.out.println(bytes.length);
        Base64.Encoder encoder = Base64.getEncoder();
    }
}
